package br.com.jvet.infra;

import java.util.List;
import java.util.Map;

import javax.ejb.Local;

import org.apache.log4j.Logger;

import br.com.jvet.entidade.Animal;
@Local
public interface AnimalFacade {
	public final Logger LOG = Logger.getLogger(AnimalFacade.class);

	public void incluir(Animal obj) throws Exception;

	public void alterar(Animal obj) throws Exception;

	public void excluir(int id);

	public Animal consultarPorId(int entityID);

	public List<Animal> listar();

	public void validarDados(Animal obj) throws Exception;

	public List<Animal> buscarAnimalPorParametro(Map<String, Object> parameters);

}
